package cn.zh.org.mapper;

import cn.zh.org.domain.Department;
import cn.zh.org.query.DepartmentQuery;

import java.util.List;

public interface DepartmentMapper {
    List<Department> findAll();

    Department findById(Long id);

    void add (Department department);

    void delete (Long id);

    void update (Department department);

    Integer queryByCount(DepartmentQuery query);

//    List<Department>
}
